<?php

/**
 *  @author liuyang
 *  @name  ActivityPrizeWinner.php
 *  @date Created on 2016-1-7
 */

namespace haibao\www\model\data\activity;

Class ActivityPrizeWinner extends \haibao\www\model\data\Base{
        
    /**
     * 参数活动ID
     */    
    public $ActivityId;
    /**
     * 奖品ID
     */
    public $PrizeId;
    
    /**
     * 获奖使用关键词
     */
    public $Keyword;
    
    /**
     * 用户姓名
     */
    public $Name;
    /**
     * 用户手机号
     */
    
    public $Mobile;
    /**
     * 收货地址
     */
    
    public $Address;
    
    /**
     * 邮编
     */
    
    public $PostCode = '';
    
    /**
     * 中奖日期
     */
    public $CreateTime;
    
    /**
     * 登录用户ID
     */
    public $UserId;
    
    public $prizeList = array();
    
	public function __construct(){
		parent::__construct();
		$this->intField('ActivityId', 'ActivityId',true);
		$this->intField('PrizeId', 'PrizeId',true);
		$this->stringField('Keyword', 'Keyword',true);
		$this->stringField('Name', 'Name',true);
		$this->stringField('Mobile', 'Mobile',true);
		$this->stringField('Address', 'Address',true);
		$this->stringField('PostCode', 'PostCode',true);
		$this->dateField('CreateTime', 'CreateTime',true);
		$this->intField('UserId', 'UserId',true);
		$this->setTableName('ActivityPrizeWinner');
	}
}